package com.onesports.intelligent.k12.polarlight.mapper.student;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.onesports.intelligent.k12.polarlight.domain.entity.student.UserStudentRel;
import com.onesports.intelligent.k12.polarlight.domain.entity.sys.WxUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户学生关联
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Mapper
public interface UserStudentRelMapper extends BaseMapper<UserStudentRel> {

    /**
     * function: 根据学生id列表获取家长WxUser实体集合
     *
     * @param stuIds 学生ids
     * @return List<WxUser> 家长WxUser集合
     * @author WangCX
     * @since 2022/8/2 19:44
     */
    List<WxUser> getWxUserByStuId(@Param("stuIds") List<String> stuIds);
}
